package DuoTai;

import javax.swing.*;
import java.awt.*;

public class MyButton extends JButton {
    public MyButton(String info, int x, int y, Container jf){
        this.setText(info);
        this.setBounds(x,y,200,20);
        jf.add(this);
    }


}
